package com.clkj.mobileinspector.model.bean;

import java.util.List;

/**
 * @author 松
 * 2020/9/18 17:20
 * 查询成功
 */
public class QuerySuccessBean {


    /**
     * code : 200
     * data : {"dataList":[{"fieldValues":[{"field":"id","value":"4"},{"field":"name","value":"测试4"},{"field":"idCard","value":"123"},{"field":"sex","value":"1"},{"field":"address","value":"1"},{"field":"contact","value":"1"},{"field":"loseDate","value":"Thu Sep 10 00:00:00 CST 2020"},{"field":"brand","value":"苹果"},{"field":"purchasingDate","value":"Sat Sep 19 16:25:57 CST 2020"},{"field":"imei","value":"1"},{"field":"picId","value":"0"},{"field":"settle","value":"1"},{"field":"createByName","value":"杨旭"},{"field":"createByCoding","value":""},{"field":"createByUnit","value":""},{"field":"createDate","value":"Sun Sep 20 16:26:12 CST 2020"},{"field":"remarks","value":""},{"field":"status","value":"3"},{"field":"delFlag","value":"0"}]},{"fieldValues":[{"field":"id","value":"3"},{"field":"name","value":"测试3"},{"field":"idCard","value":"123"},{"field":"sex","value":"1"},{"field":"address","value":"1"},{"field":"contact","value":"1"},{"field":"loseDate","value":"Thu Sep 10 00:00:00 CST 2020"},{"field":"brand","value":"苹果"},{"field":"purchasingDate","value":"Fri Sep 18 16:25:57 CST 2020"},{"field":"imei","value":"1"},{"field":"picId","value":"0"},{"field":"settle","value":"1"},{"field":"createByName","value":"杨旭"},{"field":"createByCoding","value":""},{"field":"createByUnit","value":""},{"field":"createDate","value":"Sat Sep 19 16:26:12 CST 2020"},{"field":"remarks","value":""},{"field":"status","value":"1"},{"field":"delFlag","value":"0"}]},{"fieldValues":[{"field":"id","value":"2"},{"field":"name","value":"测试2"},{"field":"idCard","value":"123"},{"field":"sex","value":"1"},{"field":"address","value":"1"},{"field":"contact","value":"1"},{"field":"loseDate","value":"Thu Sep 10 00:00:00 CST 2020"},{"field":"brand","value":"苹果"},{"field":"purchasingDate","value":"Sun Sep 20 16:25:57 CST 2020"},{"field":"imei","value":"1"},{"field":"picId","value":"0"},{"field":"settle","value":"1"},{"field":"createByName","value":"杨旭"},{"field":"createByCoding","value":""},{"field":"createByUnit","value":""},{"field":"createDate","value":"Fri Sep 18 16:26:12 CST 2020"},{"field":"remarks","value":""},{"field":"status","value":"3"},{"field":"delFlag","value":"0"}]},{"fieldValues":[{"field":"id","value":"1"},{"field":"name","value":"测试"},{"field":"idCard","value":"123"},{"field":"sex","value":"1"},{"field":"address","value":"1"},{"field":"contact","value":"1"},{"field":"loseDate","value":"Thu Sep 10 00:00:00 CST 2020"},{"field":"brand","value":"华为"},{"field":"purchasingDate","value":"Thu Sep 17 16:26:22 CST 2020"},{"field":"imei","value":"1"},{"field":"picId","value":"null"},{"field":"settle","value":"1"},{"field":"createByName","value":"刘文松"},{"field":"createByCoding","value":"null"},{"field":"createByUnit","value":"null"},{"field":"createDate","value":"Thu Sep 17 16:26:15 CST 2020"},{"field":"remarks","value":"null"},{"field":"status","value":"2"},{"field":"delFlag","value":"0"}]}],"page":{"pageNo":1,"pageSize":20,"total":4}}
     * message : 操作成功
     * messageId : c7rn87j1qfjczayz6xmk98790j5fv48l
     * version : 1.0
     */

    private String code;
    private DataBean data;
    private String message;
    private String messageId;
    private String version;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public static class DataBean {
        /**
         * dataList : [{"fieldValues":[{"field":"id","value":"4"},{"field":"name","value":"测试4"},{"field":"idCard","value":"123"},{"field":"sex","value":"1"},{"field":"address","value":"1"},{"field":"contact","value":"1"},{"field":"loseDate","value":"Thu Sep 10 00:00:00 CST 2020"},{"field":"brand","value":"苹果"},{"field":"purchasingDate","value":"Sat Sep 19 16:25:57 CST 2020"},{"field":"imei","value":"1"},{"field":"picId","value":"0"},{"field":"settle","value":"1"},{"field":"createByName","value":"杨旭"},{"field":"createByCoding","value":""},{"field":"createByUnit","value":""},{"field":"createDate","value":"Sun Sep 20 16:26:12 CST 2020"},{"field":"remarks","value":""},{"field":"status","value":"3"},{"field":"delFlag","value":"0"}]},{"fieldValues":[{"field":"id","value":"3"},{"field":"name","value":"测试3"},{"field":"idCard","value":"123"},{"field":"sex","value":"1"},{"field":"address","value":"1"},{"field":"contact","value":"1"},{"field":"loseDate","value":"Thu Sep 10 00:00:00 CST 2020"},{"field":"brand","value":"苹果"},{"field":"purchasingDate","value":"Fri Sep 18 16:25:57 CST 2020"},{"field":"imei","value":"1"},{"field":"picId","value":"0"},{"field":"settle","value":"1"},{"field":"createByName","value":"杨旭"},{"field":"createByCoding","value":""},{"field":"createByUnit","value":""},{"field":"createDate","value":"Sat Sep 19 16:26:12 CST 2020"},{"field":"remarks","value":""},{"field":"status","value":"1"},{"field":"delFlag","value":"0"}]},{"fieldValues":[{"field":"id","value":"2"},{"field":"name","value":"测试2"},{"field":"idCard","value":"123"},{"field":"sex","value":"1"},{"field":"address","value":"1"},{"field":"contact","value":"1"},{"field":"loseDate","value":"Thu Sep 10 00:00:00 CST 2020"},{"field":"brand","value":"苹果"},{"field":"purchasingDate","value":"Sun Sep 20 16:25:57 CST 2020"},{"field":"imei","value":"1"},{"field":"picId","value":"0"},{"field":"settle","value":"1"},{"field":"createByName","value":"杨旭"},{"field":"createByCoding","value":""},{"field":"createByUnit","value":""},{"field":"createDate","value":"Fri Sep 18 16:26:12 CST 2020"},{"field":"remarks","value":""},{"field":"status","value":"3"},{"field":"delFlag","value":"0"}]},{"fieldValues":[{"field":"id","value":"1"},{"field":"name","value":"测试"},{"field":"idCard","value":"123"},{"field":"sex","value":"1"},{"field":"address","value":"1"},{"field":"contact","value":"1"},{"field":"loseDate","value":"Thu Sep 10 00:00:00 CST 2020"},{"field":"brand","value":"华为"},{"field":"purchasingDate","value":"Thu Sep 17 16:26:22 CST 2020"},{"field":"imei","value":"1"},{"field":"picId","value":"null"},{"field":"settle","value":"1"},{"field":"createByName","value":"刘文松"},{"field":"createByCoding","value":"null"},{"field":"createByUnit","value":"null"},{"field":"createDate","value":"Thu Sep 17 16:26:15 CST 2020"},{"field":"remarks","value":"null"},{"field":"status","value":"2"},{"field":"delFlag","value":"0"}]}]
         * page : {"pageNo":1,"pageSize":20,"total":4}
         */

        private PageBean page;
        private List<DataListBean> dataList;

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public List<DataListBean> getDataList() {
            return dataList;
        }

        public void setDataList(List<DataListBean> dataList) {
            this.dataList = dataList;
        }

        public static class PageBean {
            /**
             * pageNo : 1
             * pageSize : 20
             * total : 4
             */

            private int pageNo;
            private int pageSize;
            private int total;

            public int getPageNo() {
                return pageNo;
            }

            public void setPageNo(int pageNo) {
                this.pageNo = pageNo;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }
        }

        public static class DataListBean {
            private List<FieldValuesBean> fieldValues;

            public List<FieldValuesBean> getFieldValues() {
                return fieldValues;
            }

            public void setFieldValues(List<FieldValuesBean> fieldValues) {
                this.fieldValues = fieldValues;
            }

            public static class FieldValuesBean {
                /**
                 * field : id
                 * value : 4
                 */

                private String field;
                private String value;

                public String getField() {
                    return field;
                }

                public void setField(String field) {
                    this.field = field;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }
            }
        }
    }
}
